package Ass7;

public class Ass7_11_5 {
	public static void main(String[] args){
		Circle circleObject1 = new Circle(2);
		Circle circleObject2 = new Circle(2);
		Circle circleObject3 = new Circle(3);
		Circle circleObject4 = new Circle(5);

	    System.out.println("Circle1 = " + circleObject1);
	    System.out.println("Circle1's Area = " + (int)(circleObject1.getArea()*100)/(100.0));
	    System.out.println("Circle2 = " + circleObject2);
	    System.out.println("Circle2's Area = " + (int)(circleObject2.getArea()*100)/(100.0));
	    System.out.print("[Circle1 and Circle2] equals = ");
	    System.out.println(circleObject1.equals(circleObject2));
	    
	    System.out.println("Circle3 = " + circleObject3);
	    System.out.println("Circle3's Area = " + (int)(circleObject3.getArea()*100)/(100.0));
	    System.out.println("Circle4 = " + circleObject4);
	    System.out.println("Circle4's Area = " + (int)(circleObject4.getArea()*100)/(100.0));
	    System.out.print("[Circle3 and Circle4] equals = ");
	    System.out.println(circleObject3.equals(circleObject4));
	}
}
